\hypertarget{tuple_8c}{
\section{Referencia del Archivo /Users/nicolunacba/Development/Dinic/trunk/network/tuple.c}
\label{tuple_8c}\index{/Users/nicolunacba/Development/Dinic/trunk/network/tuple.c@{/Users/nicolunacba/Development/Dinic/trunk/network/tuple.c}}
}
{\ttfamily \#include $<$stdlib.h$>$}\par
{\ttfamily \#include $<$stdio.h$>$}\par
{\ttfamily \#include $<$string.h$>$}\par
{\ttfamily \#include $<$stdbool.h$>$}\par
{\ttfamily \#include \char`\"{}tuple.h\char`\"{}}\par
\subsection*{Estructuras de datos}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structs_tuple}{sTuple}
\end{DoxyCompactItemize}
\subsection*{Funciones}
\begin{DoxyCompactItemize}
\item 
\hyperlink{structs_tuple}{Tuple} \hyperlink{tuple_8c_a5b881f92a2fc0873d53cc69d08c80bb4}{tuple\_\-fromKeyData} (\hyperlink{tuple_8h_a9e20b3a784f20a34a614ea787b9e59af}{Key} k, \hyperlink{tuple_8h_a1526b8483e0192d2194b15442e162dbc}{Data} d)
\item 
\hyperlink{tuple_8h_a9e20b3a784f20a34a614ea787b9e59af}{Key} \hyperlink{tuple_8c_aa348d967e695d93a7ffa0169b3baa475}{tuple\_\-fst} (\hyperlink{structs_tuple}{Tuple} t)
\item 
\hyperlink{tuple_8h_a1526b8483e0192d2194b15442e162dbc}{Data} \hyperlink{tuple_8c_af79fbe5f09e6ffcc071d3990ddf3f25e}{tuple\_\-snd} (\hyperlink{structs_tuple}{Tuple} t)
\item 
\hyperlink{structs_tuple}{Tuple} \hyperlink{tuple_8c_af3404883658f7b96d761a197eb73b625}{tuple\_\-clone} (\hyperlink{structs_tuple}{Tuple} t)
\item 
\hyperlink{structs_tuple}{Tuple} \hyperlink{tuple_8c_af8c1a0758eeec0c5b89e0ddd9ea7cf52}{tuple\_\-destroy} (\hyperlink{structs_tuple}{Tuple} t)
\item 
bool \hyperlink{tuple_8c_af6fa1108be143014167c12ce83131a00}{tuple\_\-compare} (\hyperlink{structs_tuple}{Tuple} t1, \hyperlink{structs_tuple}{Tuple} t2)
\end{DoxyCompactItemize}


\subsection{Documentación de las funciones}
\hypertarget{tuple_8c_af3404883658f7b96d761a197eb73b625}{
\index{tuple.c@{tuple.c}!tuple\_\-clone@{tuple\_\-clone}}
\index{tuple\_\-clone@{tuple\_\-clone}!tuple.c@{tuple.c}}
\subsubsection[{tuple\_\-clone}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Tuple} tuple\_\-clone (
\begin{DoxyParamCaption}
\item[{{\bf Tuple}}]{t}
\end{DoxyParamCaption}
)}}
\label{tuple_8c_af3404883658f7b96d761a197eb73b625}
Devuelve un copia 

Definición en la línea 44 del archivo tuple.c.



Hace referencia a tuple\_\-fromKeyData(), tuple\_\-fst() y tuple\_\-snd().



Referenciado por list\_\-add\_\-new\_\-elem() y list\_\-get\_\-elem().

\hypertarget{tuple_8c_af6fa1108be143014167c12ce83131a00}{
\index{tuple.c@{tuple.c}!tuple\_\-compare@{tuple\_\-compare}}
\index{tuple\_\-compare@{tuple\_\-compare}!tuple.c@{tuple.c}}
\subsubsection[{tuple\_\-compare}]{\setlength{\rightskip}{0pt plus 5cm}bool tuple\_\-compare (
\begin{DoxyParamCaption}
\item[{{\bf Tuple}}]{t1, }
\item[{{\bf Tuple}}]{t2}
\end{DoxyParamCaption}
)}}
\label{tuple_8c_af6fa1108be143014167c12ce83131a00}
Compara dos tuplas 

Definición en la línea 63 del archivo tuple.c.



Hace referencia a sTuple::t\_\-data y sTuple::t\_\-key.



Referenciado por list\_\-destroy\_\-elem() y list\_\-exists\_\-elem().

\hypertarget{tuple_8c_af8c1a0758eeec0c5b89e0ddd9ea7cf52}{
\index{tuple.c@{tuple.c}!tuple\_\-destroy@{tuple\_\-destroy}}
\index{tuple\_\-destroy@{tuple\_\-destroy}!tuple.c@{tuple.c}}
\subsubsection[{tuple\_\-destroy}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Tuple} tuple\_\-destroy (
\begin{DoxyParamCaption}
\item[{{\bf Tuple}}]{t}
\end{DoxyParamCaption}
)}}
\label{tuple_8c_af8c1a0758eeec0c5b89e0ddd9ea7cf52}
Destructor. Destruye la tupla con su Key y Data 

Definición en la línea 57 del archivo tuple.c.



Referenciado por list\_\-destroy(), list\_\-destroy\_\-elem(), main() y network\_\-get\_\-capacity().

\hypertarget{tuple_8c_a5b881f92a2fc0873d53cc69d08c80bb4}{
\index{tuple.c@{tuple.c}!tuple\_\-fromKeyData@{tuple\_\-fromKeyData}}
\index{tuple\_\-fromKeyData@{tuple\_\-fromKeyData}!tuple.c@{tuple.c}}
\subsubsection[{tuple\_\-fromKeyData}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Tuple} tuple\_\-fromKeyData (
\begin{DoxyParamCaption}
\item[{{\bf Key}}]{k, }
\item[{{\bf Data}}]{d}
\end{DoxyParamCaption}
)}}
\label{tuple_8c_a5b881f92a2fc0873d53cc69d08c80bb4}
Constructor de la Tupla 

Definición en la línea 17 del archivo tuple.c.



Hace referencia a sTuple::t\_\-data y sTuple::t\_\-key.



Referenciado por main() y tuple\_\-clone().

\hypertarget{tuple_8c_aa348d967e695d93a7ffa0169b3baa475}{
\index{tuple.c@{tuple.c}!tuple\_\-fst@{tuple\_\-fst}}
\index{tuple\_\-fst@{tuple\_\-fst}!tuple.c@{tuple.c}}
\subsubsection[{tuple\_\-fst}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Key} tuple\_\-fst (
\begin{DoxyParamCaption}
\item[{{\bf Tuple}}]{t}
\end{DoxyParamCaption}
)}}
\label{tuple_8c_aa348d967e695d93a7ffa0169b3baa475}
Devuelve la primer componente 

Definición en la línea 30 del archivo tuple.c.



Hace referencia a sTuple::t\_\-key.



Referenciado por network\_\-get\_\-capacity(), network\_\-get\_\-neighbours() y tuple\_\-clone().

\hypertarget{tuple_8c_af79fbe5f09e6ffcc071d3990ddf3f25e}{
\index{tuple.c@{tuple.c}!tuple\_\-snd@{tuple\_\-snd}}
\index{tuple\_\-snd@{tuple\_\-snd}!tuple.c@{tuple.c}}
\subsubsection[{tuple\_\-snd}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Data} tuple\_\-snd (
\begin{DoxyParamCaption}
\item[{{\bf Tuple}}]{t}
\end{DoxyParamCaption}
)}}
\label{tuple_8c_af79fbe5f09e6ffcc071d3990ddf3f25e}
Devuelve la segunda componente 

Definición en la línea 37 del archivo tuple.c.



Hace referencia a sTuple::t\_\-data.



Referenciado por network\_\-get\_\-capacity() y tuple\_\-clone().

